package com.easylinkin.linkappapi.grid.models.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 网格用户表
 *
 * @author 
 * @since 2024-05-15
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GridRoleDTO implements Serializable{
    private static final long serialVersionUID=1L;

    private Integer id;
    /**
     * 角色名称
     */
    @NotBlank(message = "角色名称不能为空")
    @ApiModelProperty(value = "角色名称", name = "gridRoleName")
    private String gridRoleName;
    @ApiModelProperty(value = "用户姓名", name = "realname")
    private String realname;

    @ApiModelProperty(value = "用户Id", name = "userId")
    private String userId;

}
